package com.example;

import com.example.model.Man;
import com.example.model.Weman;
import com.example.service.ISample;
import com.example.service.SampleImpl;

public class Main {

    public  static  void main(String[] args){
        Man zhangsan= new Man("001","张三");
        zhangsan.sleep();

        Man zhaoliu= new Man("002","zhaoliu");
        zhaoliu.sleep();

        Weman lisi =new Weman();
        lisi.sleep();
        System.out.println("sss");

        ISample sample = new SampleImpl();
        sample.dosomething();
        sample.run(30);
        sample.sleep(20);


       // CollectionUtils u=new CollectionUtils();
       // u.genRandom()

      for(Integer i:  CollectionUtils.genRandom())
      {
          System.out.println(i);
      }

    }
}
